<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
  <style type="text/css">
   .imgcircle{
		  width: 35px; /* 或者你想要的任何尺寸 */
		  height: 35px; /* 宽高相同 */
		  border-radius: 50%; /* 将图片变为圆形 */
		  vertical-align: middle; /* 对齐图片 */
		}
		.container {
  line-height: 35px; /* 设置容器的行高，使得文字垂直居中 */
  color:#6c757d;
   font-size:28px;
}
  </style>
</head>
<body>
<div class="container" >
	<table width="100%">
		<tr>
			<td><img src="../img/logo.jpg" alt="Circle Image" class="imgcircle">&nbsp;齐鲁师范学院学生信息管理系统</td>
			<td align="right">
				<form action="${pageContext.request.contextPath}/logout" method="post" style="display: inline;">
				<font size="2">
					当前用户：[
					<c:if test="${curUser.type==1 }">
						管理员-
					</c:if>
					<c:if test="${curUser.type==0 }">
						读者-
					</c:if>
					${curUser.userDisplayName }
					]&nbsp;&nbsp;
					<input type="submit" value="退出" style="border: none; background: none; color: #007bff; font-size: 14px; cursor: pointer;">
				</font>
				</form>
			</td>
		</tr>
	</table>
</div>
</body>
</html>